<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

  <script>
    const list1 = []
    const list2 = list1;


    list2.push('2')
    console.log('list1 === list2  ----->  ', list1 === list2);


    // 问题1：

    // []  等同于 new Array()  !== new Array()
    // {}  等同于 new Object()  !== new Object()
    console.log('[]  === []  ----->  ', [] === []);
    console.log('{} ==={}  ----->  ', {} === {});
  </script>

</body>

</html>